/*
 * Overload this file in your theme to customize the module
 * https://www.phpboost.com/wiki/structure-d-un-theme#paragraph-le-repertoire-modules
 *
 * Upload classes :
 *     - drag and drop
*/

/* --- Drag and Drop -------------------------------------------------------- */
.dnd-area { position: relative;}

.dnd-dropzone {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border-width: 2px;
    border-style: dashed;
}

#new-multiple-files .submit[disabled] {
    cursor: not-allowed;
}

.ufiles {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: transparent;
}

.ready-to-load {
    position: absolute;
    top: 0.618em;
    right: 0;
}

.clear-list {
    display: none;
    margin: 0;
}

.files-nbr {
    font-size:0.809em;
    margin-top:2px;
}

.ulist {
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.upload-help {
    border-radius: 100%;
    padding: .309em 0.618em;
    position: absolute;
    bottom: 0;
    right: 0;
}

.ulist li {
    padding: 0.309em;
    margin: 0.456em 0.456em 0 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-style: solid;
    border-width: 1px;
    line-height: 45px;
}

.ulist img,
.ulist .far {
    margin-right: 0.256em;
    max-width: 80px;
    max-height: 45px;
}

.fa-upload-img {
    font-style: initial
}

.close-item {
    position: absolute;
    top: -0.256em;
    right: -0.256em;
	display: none;

}
